import axiso from "axios";
export function request(config) {
  return new Promise((resolve, reject) => {
    const instance = axiso.create({
      baseURL: "http://localhost: 5000",
      timeout: 5000
    });
  });
}
instance.interceptors.request.use(req => {
  return res;
});
instance.interceptors.response.use(res => {
  return res.data;
});
